package com.ssy.lingxi.platform.template.service.model.dto.adorn;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.ArrayList;
import java.util.List;

/**
 * 保存模板装修内容 - DTO
 * @author fhj
 * @date 2020/10/17
 * @version 2.0.0
 */
@Data
public class SaveTemplateAdornDTO {

    @NotNull(message = "模板ID不能为空")
    @ApiModelProperty(value = "模板ID")
    private Long templateId;

    @NotNull(message = "品类ID不能为空")
    @ApiModelProperty(value = "品类ID")
    private Long categoryId;

    @ApiModelProperty(value = "品类广告图")
    private String categoryAdvertPicUrl;

    @ApiModelProperty(value = "是否展示 1-展示 0-不展示")
    private Integer isShow;

    @ApiModelProperty(value = "二级品类ID集合")
    private List<Long> twoCategoryIds = new ArrayList<>();

    @ApiModelProperty(value = "商品ID集合")
    private List<Long> goodsIds = new ArrayList<>();

    @ApiModelProperty(value = "店铺ID集合")
    private List<Long> shopIds = new ArrayList<>();

    @ApiModelProperty(value = "品牌ID集合")
    private List<Long> brandIds = new ArrayList<>();
}
